import useBaseStore from "@/store/modules/base";

export const matchCommunity = (communityId) => {
  const baseStore = useBaseStore();
  const communityList = baseStore.communityList;
  return communityList.find((item) => item.id === communityId) || {};
};
